package com.cloud.lawcase.api.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import com.cloud.lawcase.api.entity.TcDicLawPublishDept;
import com.cloud.lawcase.common.driver.SimpleInlangDriver;
import com.cloud.lawcase.common.utils.BaseMapperHelper;

public interface TcDicLawPublishDeptMapper extends BaseMapperHelper<TcDicLawPublishDept> {

	@Select("select dept_name from tc_dic_law_publish_dept where dept_id in (#{ids})")
	@Lang(SimpleInlangDriver.class)
	@ResultType(value = Long.class)
	List<String> findNameByIds(@Param("ids") String[] ids);
}